<%@page import="java.util.Enumeration"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>hw - 前台 - 用户中心</title>
	</head>
	<body>
		<p><%=request.getMethod() %></p>
		<%
		    /*Enumeration======Iterator*/
		   	/* 请求头 */
			Enumeration headerEnums = request.getHeaderNames();
			while(headerEnums.hasMoreElements())
			{
				String keyTemp = (String)headerEnums.nextElement();
				String val = request.getHeader(keyTemp);
				out.println(keyTemp + "==请求头==" + val + "<br/>");
			}
		%>
		<%
		    /*Enumeration======Iterator*/
		   	/* 请求头 */
			Enumeration paramEnums = request.getParameterNames();
			while(paramEnums.hasMoreElements())
			{
				String keyTemp = (String)paramEnums.nextElement();
				String val = request.getParameter(keyTemp) ; 
				out.println(keyTemp + "==请求体==" + val + "<br/>");
			}
		%>
	</body>
</html>